import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import DeviceSearch from '@/components/m/device/DeviceSearch'
import DeviceInfo from '@/components/m/device/DeviceInfo'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/DeviceInfo',
      name: 'DeviceInfo',
      component: DeviceInfo
    },
    {
      path: '/DeviceSearch',
      name: 'DeviceSearch',
      component: DeviceSearch
    }
  ]
})
